#ifndef __GENERALDETAIL_H__
#define __GENERALDETAIL_H__

#include "cocos2d.h"
#include "cocos-ext.h"  
#include "CPublicFuns.h"
USING_NS_CC_EXT;
USING_NS_CC;
using namespace ui;

class CGeneralDetail :
	public cocos2d::CCLayer//,public CCEditBoxDelegate
{
public:
	// Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
	virtual bool init();  

	// there's no 'id' in cpp, so we recommend returning the class instance pointer
	static cocos2d::Scene* createScene();
	// implement the "static node()" method manually
	CREATE_FUNC(CGeneralDetail);
protected:
	void CreateHeros();
	Node* CreateHeroCsb( char* name,char*level);
private:

};

#endif //__GENERALDETAIL_H__
